package com.oauth2demo.doman;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <h3>oauth2Demo</h3>
 * <p>用户表</p>
 *
 * @author gdw
 * @since 2024-07-04 10:57:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("a_user")
public class SysUser implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 角色
     */
    private Long role;
    /**
     * 状态
     */
    private Boolean enabled;

}
